package com.wwc.sc.mapper;

import com.wwc.sc.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author WWC
 */
@Mapper
@Repository
public interface DeptMapper {
    public int addDept(Dept dept);

    public Dept queryDept(String deptNo);

    public List<Dept> queryAllDept();
}
